package com.spring.student.register;

public class User {
    private String number;
    private String password;
            private String identity;
            public void setNumber(String number){
                this.number= number;
            }
            public String getNumber(){
                return number;
            }
            public void setPassword(String password){
                this.password= password;
            }
            public String getPassword(){
                return password;
            }
            public void setIdentity(String identity){
                this.identity= identity;
            }
            public String getIdentity(){
                return identity;
            }
            public String toString(){
                return"用户注册成功！"+"\n"
                        +"number="+number+",password="+password+",identity="+identity;
            }
}
